package com.efast.dmom.aps.entity;

import java.time.LocalDateTime;
import java.util.List;

import com.efast.dmom.aps.entity.base.BaseEntity;

/**
 * @author Aaron Liu
 *
 * @date:2020年1月7日
 */

public class RouteEntity extends BaseEntity {

	private static final long serialVersionUID = -6266832748696886667L;

	private LocalDateTime effectivityStartTime;
	private LocalDateTime effectivityEndTime;

	private String routeType = null;
	private String routeCode = null;
	private String metadata = null;
	private String uuid = null;
	// private String routeName = null;
	// private String routeDescription = null;
	private long defaultProdlineKey = 0;
	private String revision = null;
	private List<String> reasons = null;

	public RouteEntity() {
	}

	public RouteEntity(String routeName) {

		super();
		setName(routeName);
	}

	public String getMetadata() {
		return metadata;
	}

	public void setMetadata(String metadata) {
		this.metadata = metadata;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public long getDefaultProdlineKey() {
		return defaultProdlineKey;
	}

	public void setDefaultProdlineKey(long defaultProdlineKey) {
		this.defaultProdlineKey = defaultProdlineKey;
	}

	public String getRevision() {
		return revision;
	}

	public void setRevision(String revision) {
		this.revision = revision;
	}

	public long getDefaultPlineKey() {
		return defaultProdlineKey;
	}

	public void setDefaultPlineKey(long defaultPlineKey) {
		this.defaultProdlineKey = defaultPlineKey;
	}

	public List<String> getReasons() {
		return reasons;
	}

	public void setReasons(List<String> reasons) {
		this.reasons = reasons;
	}

	public String getRouteType() {
		return routeType;
	}

	public void setRouteType(String routeType) {
		this.routeType = routeType;
	}

	public String getRouteCode() {
		return routeCode;
	}

	public void setRouteCode(String routeCode) {
		this.routeCode = routeCode;
	}

	public LocalDateTime getEffectivityStartTime() {
		return effectivityStartTime;
	}

	public void setEffectivityStartTime(LocalDateTime effectivityStartTime) {
		this.effectivityStartTime = effectivityStartTime;
	}

	public LocalDateTime getEffectivityEndTime() {
		return effectivityEndTime;
	}

	public void setEffectivityEndTime(LocalDateTime effectivityEndTime) {
		this.effectivityEndTime = effectivityEndTime;
	}

}
